Attachment to pain? I guess it happens. I used to work at a pain clinic where the folks come who are in constant severe pain for years. Real, physical pain is all pervasive.
I don't think many were attached to their pain and suffering. Most would have given all they owned to be relieved of this pain that had taken over their lives.
Yes, you can treat it with meds., but for most, it was little help. Some chose to leave this life because of the pain. It is hard to imagine what chronic pain is like until you experience it yourself.
One lady told me to imagine that you have been stabbed with a knife and it is hanging out of your leg. All you want is the knife removed, but they keep telling you to learn to live with it, don't think about it, change the way you perceive it, etc. Some people have to go through many years in this condition.
I actually like Zen philosophy, but like most, it has its limits.